// 带标签的模版字符串

// const str = console.log`hello world`;


/**
 * mytagFunc 标签函数
 */
const name = "tome";
const gender = true;
function myTagFunc(strings) {
    console.log(strings);// 打印结果：[ 'hey, ', ' is a ', '' ]  结果为：以${}分割的静态部分
}
const result = myTagFunc`hey, ${name} is a ${gender}`;